Image adjusting method and related display

ABSTRACT

An image adjusting method and a related display are applied to automatically adjust illumination of an image according to analyze of a gray level histogram of the image. The image adjusting method includes generating the gray level histogram of the image, dividing the gray level histogram into at least one first zone and one second zone, comparing a pixel amount of the first zone with a threshold, and utilizing a modification function to adjust illumination of each pixel within the first zone according to a comparison result. A grey level of the first zone is greater than a grey level of the second zone. Illumination of the first zone is decreased by the modification function while the pixel amount of the first zone is greater than the threshold.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image adjusting method and the related display, and more particularly, to an image adjusting method and the related display capable of detecting gray level distribution to adjust illumination of the image.

2. Description of the Prior Art

With the advanced technology, a huge computer host is changed to be a personal desktop computer suitable for household life. The personal desktop computer can execute application programs such as the web browser, the document software and/or the game software. While the game software is executed upon the personal desktop computer, an image showed on the display may generate sudden illumination variation of partial zone within the image due to content of the game, eyesight of the consumer is difficult to suit rapid illumination variation of the image, for example, the image showed on the conventional display can be suddenly switched from a brilliant background to a dark background, and the consumer cannot clearly distinguish patterns inside the dark scene. Please refer to FIG. 1. FIG. 1 is a diagram of a gamma curve of the conventional display which has illumination adjusting function in the prior art. The curve B is the gamma curve indicative of the image without illumination adjustment, the curve A is the gamma curve indicative of the image that is adjusted due to dark scene, and the curve C is the gamma curve indicative of the image that is adjusted due to brilliant scene. As shown in FIG. 1, the conventional illumination adjusting method adjusts whole pixels of the image, which represents a partial zone of the image not in need of amendment is adjusted accordingly, and the image adjusted by the conventional illumination adjusting method has low quality.

SUMMARY OF THE INVENTION

The present invention provides an image adjusting method and the related display capable of detecting gray level distribution to adjust illumination of the image for solving above drawbacks.

According to the claimed invention, an image adjusting method includes generating a gray level histogram of an image, dividing the gray level histogram into at least one first zone and at least one second zone, comparing a pixel amount of the first zone with a threshold, and utilizing a modification function to adjust illumination of each pixel within the first zone according to a comparison result. A gray level of the first zone is greater than a gray level of the second zone. Illumination of pixels within the first zone is decreased by the modification function while the pixel amount of the first zone is greater than the threshold.

According to the claimed invention, a display includes a panel unit and a controller. The panel unit is adapted to display an image. The controller is electrically connected to the panel unit. The controller is adapted to generate a gray level histogram of the image, and to divide the gray level histogram into at least one first zone and at least one second zone. The controller is further adapted to compare a pixel amount of the first zone with a threshold, and to adjust illumination of each pixel within the first zone by a modification function according to a comparison result. A grey level of the first zone is greater than a grey level of the second zone, and the controller decreases illumination of pixels within the first zone through the modification function while the pixel amount of the first zone is greater than the threshold.

The image adjusting method and the related display of the present invention can determine whether scene of the image is varied according to illumination of whole zone or partial zones of the image, analyze the gray level histogram of the image to recognize the high-brightness pattern within the dark background when the scene is switched in the dark, and decrease illumination of the pixels related to the high-brightness pattern by the predetermined modification function, so as to transform the high-brightness pattern within the dark background into comfortable looking (not harsh to the eye) and to maintain an original status of the dark background. Comparing to the prior art, the present invention preserves shade contrast between different patterns inside the image and definition of the image, to effectively increase image quality of the display for preferred market competition.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of a gamma curve of the conventional display which has illumination adjusting function in the prior art.

FIG. 2 is a functional block diagram of a display according to an embodiment of the present invention.

FIG. 3 is a gray level histogram of the image showed on the display according to the embodiment of the present invention.

FIG. 4 is a diagram of curves with different illumination according to the embodiment of the present invention.

FIG. 5 is a flow chart of an image adjusting method according to the embodiment of the present invention.

DETAILED DESCRIPTION

Please refer to FIG. 2. FIG. 2 is a functional block diagram of a display 10 according to an embodiment of the present invention. The display 10 includes a panel unit 12 and a controller 14 electrically connected to each other. The controller 14 drives the panel unit 12 to display an image according to information received from the host. While the image showed on the display 10 is varied from a brilliant background to a dark background, the user may be difficult to clearly observe a high-brightness pattern or other patterns within the dark background of the image due to sudden illumination variation of eyesight. The controller 14 can analyze a gray level histogram of the image to distinguish the high-brightness pattern inside the image, determine whether illumination of the high-brightness pattern is decreased or not according to parameters such as a pixel amount, and the image showed on the display 10 can be adjusted clearly and distinctly.

For example, when the display 10 displays an image with game frame and background of the said image switches from brilliant outdoors to dark indoors, recognition degree of the indoor image may be damaged by illumination difference between the dark background indicative of indoors and the high-brightness pattern indicative of a light source. Therefore, the display 10 of the present invention can automatically recognize the high-brightness pattern within the dark indoors, and adjust intensity (such like decreasing illumination) of the high-brightness pattern according to its initial value, so as to obviously enhance shade contrast of the image having the high-brightness pattern and to maintain preferred recognition of the said image.

Please refer to FIG. 3 to FIG. 5. FIG. 3 is a gray level histogram of the image showed on the display 10 according to the embodiment of the present invention, wherein the horizontal axis in FIG. 3 represents gray levels of the image and the vertical axis in FIG. 3 represents a distributed amount of each gray level of the image. FIG. 4 is a diagram of curves with different illumination according to the embodiment of the present invention, wherein the horizontal axis in FIG. 4 represents gray levels of the image and the vertical axis in FIG. 4 represents an intensity of each gray level of the image. FIG. 5 is a flow chart of an image adjusting method according to the embodiment of the present invention. The image adjusting method described in FIG. 5 is suitable for the display 10 shown in FIG. 1.

The controller 14 may include an analyzing unit or an adjusting unit (which is not shown in figures) adapted to execute image analysis, gray level analysis and pixel adjustment. A memory (not shown in figures) of the controller 14 can be utilized to decide a reference value applicable to determination of the image illumination and a threshold applicable to determination of a pixel amount, and further to pre-store a modification function. First, steps 500 and 502 are executed to actuate the image adjusting function of the display 10, and the controller 14 compares illumination of the image with the reference value to determine whether the image has the brilliant background or the dark background. When the image illumination is greater than the reference value, the image has the brilliant background and illumination of pixels within the image is not adjusted such as step 504. When the image illumination is lower than the reference value, the image has the dark background, so the image adjusting method starts to determine whether the modification function is utilized to adjust the pixels within the image. Then, step 506 is executed that the controller 14 can generate the gray level histogram according to the image shown on the panel unit 12, as shown in FIG. 3, and the gray level histogram shows distribution and related amounts of different gray levels. Then, steps 508 and 510 are executed to divide the gray level histogram into a first zone Z1 and a second zone Z2 at least, and to compare the pixel amount of the first zone Z1 with the threshold. The first zone Z1 is defined to be a range with larger gray level, and the second zone Z2 is defined to be a range with smaller gray level. The present invention further can divide the gray level histogram into a plurality of zones (which numeral is more than two), and one of the plurality of zones with largest gray level can be defined as the first zone Z1 for recognition of the high-brightness pattern within the indoor image.

The gray level histogram of the image can be divided into two or more than two zones, one of the zones with lower pixel value represents the dark background within the image, step 502 of comparing the image illumination with the reference value of the image adjusting method in the present invention can determine whether illumination of the image is lower than the reference value according to pixel distribution of the first zone Z1 and the second zone Z2, or according to a pixel amount of the second zone Z2. As the illumination of the image is lower than the reference value, the image is switched from the brilliant outdoor background to the dark indoor background, and the image adjusting method of the present invention is actuated to obtain optimum illumination adjustment while background of the game frame is varied. In addition, the present invention not only can adjust the image whose background switched between the brilliant outdoors and the dark indoors, but also can adjust pixel illumination of patterns always within the dark image.

When the pixel amount of the first zone Z1 is lower than the threshold, dimensions of the high-brightness pattern is small and definition of the image is not obviously affected, and step 512 is executed to not vary illumination of the pixels (such as Luma index) within the first zone Z1 by the controller 14. When the pixel amount of the first zone Z1 is greater than the threshold, the high-brightness pattern occupies a great deal of superficial measure within the image, and step 514 is executed that the controller 14 utilizes the modification function to decrease the illumination of the pixels (such as Luma index) within the first zone Z1, to ease off contrast different between the high-brightness pattern and the dark background. Moreover, the present invention can execute step 514 while the pixel amount of the first zone Z1 is lower than and greater than the threshold, which means execution of step 514 is not affected by the pixel amount. It should be mentioned that characteristics of the modification function is varied through the gray level distribution of the image, for instance, correction quantity of the modification function is larger while a specific zone has higher pixel illumination, the correction quantity of the modification function is smaller while the specific zone has lower pixel illumination. As shown in FIG. 5, the curve CL is an initial pixel illumination before correction. When the first zone Z1 has higher pixel illumination (such as Luma index being between 8˜15), the curve CL is modified as the curve CL1 by the modification function; when the first zone Z1 has middle pixel illumination (such as Luma index being between 5˜7, the curve CL is modified as the curve CL2 by the modification function; when the first zone Z1 has lower pixel illumination (such as Luma index being between 0˜4, the curve CL is modified as the curve CL3 by the modification function.

The modification function can be a numeral sequence which corresponds to amounts of the gray level within the first zone Z1, and the image adjusting method subtracts predetermined values of the modification function from all pixels within the first zone Z1 to modify pixel intensity of the curve CL within the first zone Z1. Furthermore, the modification function can decrease illumination of whole pixels within the first zone Z1 by a predetermined ratio, or each pixel within first zone Z1 can be reduced by its own ratio to respectively decrease illumination of the whole pixels. Correction quantity of the curve CL is designed according to initial illumination. The correction quantity is larger while the initial illumination is higher, and the correction quantity is smaller while the initial illumination is lower, as shown in FIG. 4. Calculation of the modification function is not limited to the above-mentioned embodiments, which depends on design demand, and a detailed description is omitted herein for simplicity.

The image adjusting method and the related display of the present invention can determine whether scene of the image is varied according to illumination of whole zone or partial zones of the image, analyze the gray level histogram of the image to recognize the high-brightness pattern within the dark background when the scene is switched in the dark, and decrease illumination of the pixels related to the high-brightness pattern by the predetermined modification function, so as to transform the high-brightness pattern within the dark background into comfortable looking (not harsh to the eye) and to maintain an original status of the dark background. Comparing to the prior art, the present invention preserves shade contrast between different patterns inside the image and definition of the image, to effectively increase image quality of the display for preferred market competition.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

What is claimed is:
 1. An image adjusting method comprising: generating a gray level histogram of an image; dividing the gray level histogram into at least one first zone and at least one second zone, wherein a gray level of the first zone is greater than a gray level of the second zone; comparing a pixel amount of the first zone with a threshold; and utilizing a modification function to adjust illumination of each pixel within the first zone according to a comparison result, wherein illumination of pixels within the first zone is decreased by the modification function while the pixel amount of the first zone is greater than the threshold.
 2. The image adjusting method of claim 1, wherein the illumination of the pixels within the first zone is not varied by the modification function while the pixel amount of the first zone is smaller than the threshold.
 3. The image adjusting method of claim 1, wherein the modification function is varied according to gray level distribution of the image.
 4. The image adjusting method of claim 1, further comprising: determining whether illumination of the image is lower than a reference value.
 5. The image adjusting method of claim 4, wherein while the illumination of the image is lower than the reference value, the image adjusting method determines whether the modification function is utilized to adjust the illumination of the pixels within the first zone.
 6. The image adjusting method of claim 4, wherein a step of determining whether the illumination of the image is lower than the reference value comprises: determining whether the illumination of the image is lower than the reference value according to pixel distribution of the first zone and the second zone.
 7. The image adjusting method of claim 4, wherein a step of determining whether the illumination of the image is lower than the reference value comprises: determining whether the illumination of the image is lower than the reference value according to a pixel amount of the second zone.
 8. A display comprising: a panel unit adapted to display an image; and a controller electrically connected to the panel unit, the controller being adapted to generate a gray level histogram of the image, and to divide the gray level histogram into at least one first zone and at least one second zone, the controller being further adapted to compare a pixel amount of the first zone with a threshold, and to adjust illumination of each pixel within the first zone by a modification function according to a comparison result; wherein a grey level of the first zone is greater than a grey level of the second zone, and the controller decreases illumination of pixels within the first zone through the modification function while the pixel amount of the first zone is greater than the threshold.
 9. The display of claim 8, wherein the controller does not vary the illumination of the pixels within the first zone while the pixel amount of the first zone is smaller than the threshold.
 10. The display of claim 8, wherein the modification function is varied according to gray level distribution of the image.
 11. The display of claim 8, wherein the controller determines whether illumination of the image is lower than a reference value, to determine whether the modification function is utilized to adjust the illumination of the pixels within the first zone.
 12. The display of claim 11, wherein the controller determines whether the illumination of the image is lower than the reference value according to pixel distribution of the first zone and the second zone, or according to a pixel amount of the second zone.
 13. An image adjusting method comprising: generating a gray level histogram of an image; dividing the gray level histogram into at least one first zone and at least one second zone, wherein a gray level of the first zone is greater than a gray level of the second zone; utilizing a modification function to adjust illumination of each pixel within the first zone; and determining whether illumination of the image is lower than a reference value according to a pixel amount of the second zone, wherein illumination of pixels within the first zone is decreased by the modification function while the illumination of the image is lower than the reference value.
 14. The image adjusting method of claim 13, further comprising: comparing a pixel amount of the first zone with a threshold; and utilizing the modification function to adjust the illumination of the pixels within the first zone while the pixel amount of the first zone is greater than the threshold and the illumination of the image is lower than the reference value.
 15. The image adjusting method of claim 13, wherein while the illumination of the image is lower than the reference value, the image adjusting method determines whether the modification function is utilized to adjust the illumination of the pixels within the first zone.
 16. The image adjusting method of claim 13, further comprises: determining whether the illumination of the image is lower than the reference value according to pixel distribution of the first zone and the second zone. 